package org.tsing.xxl_job.controller;

import com.alibaba.fastjson.JSON;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONObject;
import org.tsing.xxl_job.domain.SmsParamDataBean;

/**
 * @Date 2023/4/26 12:52
 */

@RestController
@RequestMapping("/cs")
public class SmsController {


//    @PostMapping("/cs/query/smshis")
    @PostMapping("/query/smshis")
    public String  smsSend(@RequestBody SmsParamDataBean json) throws Exception {
        decrypt(json);
        return "";
    }



    //解密的方法
    public  void  decrypt(SmsParamDataBean jon){
        System.out.println(JSON.toJSONString(jon));
    }






}
